/*  import { defineStore } from 'pinia'
interface User {
  token: string,
  uid: number
}
const useUserStore = defineStore('user', {
  state: () => {
    return {
      token: '',
      uid: 0
    }
  },
  actions: {
    initUser({token,uid}:User) {
      this.token = token;
      this.uid = uid
    }
  },
  persist: true
}) 

export default useUserStore  */